﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;

namespace DotNetExtensions.AspNet.Restful
{
    public class PageResult<T>
    {
        public long Total { get; set; }
        public int Pages { get; set; }

        public bool IsEmpty { get { return false == Data.Any(); } }

        public IEnumerable<T> Data { get; set; }
    }
}
